package com.dangdang.domain;

import java.io.Serializable;

/**
 * 订单详细条目实体类
 * 
 * @author Wangpeihu
 * @team [Never give up]
 * @since JDK1.6(建议)
 * @date 2010-1-18
 */
public class Item implements Serializable {

	private static final long serialVersionUID = 1L;

	private Integer id;

	/** 订单ID,标识属于哪一张订单 */
	private Order orderId;

	/** 商品ID */
	private Integer productId;

	public Integer getProductId() {
		return this.productId;
	}

	public void setProductId(Integer productId) {
		this.productId = productId;
	}

	/** 当当价格 */
	private double dangPrice;

	/** 商品数量 */
	private Integer productNum;

	/** 合计金额 */
	private double amount;

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Order getOrderId() {
		return this.orderId;
	}

	public void setOrderId(Order orderId) {
		this.orderId = orderId;
	}

	public double getDangPrice() {
		return this.dangPrice;
	}

	public void setDangPrice(double dangPrice) {
		this.dangPrice = dangPrice;
	}

	public Integer getProductNum() {
		return this.productNum;
	}

	public void setProductNum(Integer productNum) {
		this.productNum = productNum;
	}

	public double getAmount() {
		return this.amount;
	}

	public void setAmount(double amount) {
		this.amount = amount;
	}

}